package org.example.config;

import lombok.Data;
import org.example.serialize.SerializerKeys;

/**
 * RPC 框架配置
 */
@Data
public class RPCConfig {
    private String name;
    private String version;
    // 服务器主机名
    private String serverHost;
    private Integer serverPort;

    // 模拟调用
    private boolean mock = false;
    // 序列化器
//    private String serializer = SerializerKeys.JSON;
    private String serializer;

    // 注册中心配置
    private RegistryConfig registryConfig = new RegistryConfig();
}
